import HCom from "./HCom";
import HCom2 from "./HCom2";

 

function HOC(){
    return (
        <div>
            <h1>Higher Order Component</h1>
            <HCom msg="hello"><HCom2 /></HCom>
        </div>
    )
}
export default HOC;